const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // token: state => state.user.token,
  // avatar: state => state.user.avatar,
  // name: state => state.user.name
  // sidebar: (state) =>{
  //    return state.app.sidebar
  // }
  // sidebar :state => state.app.sidebar
  // 在组件中获取sidebar
  // this.$Store.state.app.sidebar
  // 在组建中获取getter
  // ...MapGetters(['sidebar'])
  // 封装全局getters的作用，
}
export default getters
